package com.kwlt.smc.dao;

import java.util.List;

import com.kwlt.smc.entity.SmsSendDetail;


public interface SmsSendDetailDao {
	/**
	 * 保存操作
	 * @param list
	 */
	public void save(List<SmsSendDetail> list,String date);

	public SmsSendDetail findSmsSendDetailByLocalMsgId(String msgId,String phoneNum,String dateStr);

	public int updateSmsRpt(SmsSendDetail sendResultDetail,String dateStr);
	/**
	 * 查询
	 * @param sql
	 * @return
	 */
	public List query(String sql);
	
	/**
	 * 根据表名称创建表
	 * 
	 * @param tableName
	 */
	public void create(String tableName) throws Exception;
}
